<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS选择器-伪类选择器-2</title>
    <style>
        ul:first-line{
            color: red;
        }
    </style>
</head>
<body>
<!--first-child-->
<ul>
    <li>第一项</li>
    <li>第二项</li>
    <li>第三项</li>
    <li>第四项</li>
    <li>第五项</li>
</ul>
</body>
</html>